<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sj:head locale="es" jqueryui="true" jquerytheme="cupertino" />
<link rel="stylesheet" type="text/css" href="estilo/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Resumen asistencia empleados...</title>
<script language="JavaScript" type="text/javascript">	
   function maximizar() { 
		self.moveTo(0,0); 
		self.resizeTo(screen.availWidth,screen.availHeight); 
	} 
   
</script>
</head>
<body onload="maximizar();" >
  <div class='logo_sia'><img src="images/logo.png" /></div>
  <div class="barra_tit_corp" align='center'>Resumen asistencia empleados</div>
    
    <s:url id="car_quincenas" action="cargar_quincenas1.action"  > 
        <s:param name="opc">1</s:param>
    </s:url>
    <s:url id="car_deps" action="cargar_departamentos1.action"  > 
        <s:param name="opc">2</s:param>
    </s:url>
    <s:url id="car_emp" action="cargar_empleados1.action"  /> 
    
    <s:url id="car_1" value="rpt_rasis.action" /> 
    <s:url id="car_2" value="rpt_rasis.action" /> 
    
    <s:form id="form" action="rpt_rasis.action" targets="reporte" theme="simple" >
         <table border='0'>
             <tr><td>Quincena</td><td>Departamento</td><td>Empleado</td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
             <tr>
                 <td><sj:select href="%{car_quincenas}" cssClass='caja_3' name="cod_quincena" id="quincena" headerKey="-1"
				    listKey='cod'  listValue='descripcion' headerValue="Seleccione" list="quincenas" /></td><td><sj:select href="%{car_deps}" cssClass='caja_3' name="cod_dep" id="departamento" headerKey="-1"
				    listKey='cod'  listValue='descripcion' headerValue="Seleccione" list="deps" onChangeTopics="reloadsecondlist" /></td><td><sj:select href="%{car_emp}" cssClass='caja_3' name="empleado" id="empleado" headerKey="-1"
				    listKey='cod'  listValue='descripcion' headerValue="Todos" list="empleados" reloadTopics="reloadsecondlist" formIds="form" /></td><td> </td><td>  </td><td>  </td><td> </td><td><sj:a id="filtrar"  href="%{car_1}"  formIds="form" targets="reporte"  indicator="indicatorc" button="true" buttonIcon="ui-icon-gear"  >Filtrar</sj:a><img id="indicatorc" src="images/ajax-loader3.gif" alt="Cargando..." style="display: none" /></td> 
                 <td><sj:a id="Graficar"  href="%{car_2}"  formIds="form" targets="reporte"  indicator="indicatorc" button="true" buttonIcon="ui-icon-gear" effect="highlight" effectOptions="{ color : '#222222' }" effectDuration="3000"  >Graficar</sj:a></td>
             </tr>
        </table>      
    </s:form>
    <sj:div id='reporte' href="%{car_1}" indicator="indicatorc"  effect="highlight" effectOptions="{ color : '#222222' }" effectDuration="3000" >
    </sj:div>	
</body>
</html>